package cn.gbase.jiangsu.data.transfer.bean;

import java.math.BigDecimal;
import java.util.Date;

import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Id;
import org.nutz.dao.entity.annotation.Readonly;
import org.nutz.dao.entity.annotation.Table;

import cn.gbase.jiangsu.data.transfer.validation.annotation.Validations;

/**
 * 购物车实体.
 * 
 */
public class ProductBuy extends BaseDto {

	/**
	 * ID.
	 */
	private int id; 
	
	private int buyId;

	/**
	 * 商品名称.
	 */
	private String productName;

	/**
	 * 商品编码.
	 */
	private String productCode;

	/**
	 * 商品图片1.
	 */
	private String productPic1;

	
	/**
	 * 供货商ID.
	 */
	private int supplierId;

	/**
	 * 购物数量
	 */
	private int buyNum;

	
	/**
	 * 零售价格.
	 */
	private BigDecimal sellPrice;
	
	
	/**
	 * 点击次数.
	 */
	private int click;

	/**
	 * 推荐商品Flag.
	 */
	private int recommendFlag;

	/**
	 * 特价商品Flag.
	 */
	private int specialPriceFlag;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getProductName() {
		return productName;
	}

	public void setProductName(String productName) {
		this.productName = productName;
	}

	public String getProductCode() {
		return productCode;
	}

	public int getBuyId() {
		return buyId;
	}

	public void setBuyId(int buyId) {
		this.buyId = buyId;
	}

	public void setProductCode(String productCode) {
		this.productCode = productCode;
	}

	public String getProductPic1() {
		return productPic1;
	}

	public void setProductPic1(String productPic1) {
		this.productPic1 = productPic1;
	}

	public int getSupplierId() {
		return supplierId;
	}

	public void setSupplierId(int supplierId) {
		this.supplierId = supplierId;
	}

	public int getBuyNum() {
		return buyNum;
	}

	public void setBuyNum(int buyNum) {
		this.buyNum = buyNum;
	}

	public BigDecimal getSellPrice() {
		return sellPrice;
	}

	public void setSellPrice(BigDecimal sellPrice) {
		this.sellPrice = sellPrice;
	}

	public int getClick() {
		return click;
	}

	public void setClick(int click) {
		this.click = click;
	}

	public int getRecommendFlag() {
		return recommendFlag;
	}

	public void setRecommendFlag(int recommendFlag) {
		this.recommendFlag = recommendFlag;
	}

	public int getSpecialPriceFlag() {
		return specialPriceFlag;
	}

	public void setSpecialPriceFlag(int specialPriceFlag) {
		this.specialPriceFlag = specialPriceFlag;
	}

	
}
